3.2527 \(\int (5-x) (3+2 x)^{5/2} (2+5 x+3 x^2) \, dx\)

Optimal. Leaf size=53 \[ -\frac{3}{104} (2 x+3)^{13/2}+\frac{47}{88} (2 x+3)^{11/2}-\frac{109}{72} (2 x+3)^{9/2}+\frac{65}{56} (2 x+3)^{7/2} \]

[Out]

(65*(3 + 2*x)^(7/2))/56 - (109*(3 + 2*x)^(9/2))/72 + (47*(3 + 2*x)^(11/2))/88 - (3*(3 + 2*x)^(13/2))/104

________________________________________________________________________________________

Rubi [A]  time = 0.0155132, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.04, Rules used = {771} \[ -\frac{3}{104} (2 x+3)^{13/2}+\frac{47}{88} (2 x+3)^{11/2}-\frac{109}{72} (2 x+3)^{9/2}+\frac{65}{56} (2 x+3)^{7/2} \]

Antiderivative was successfully verified.

[In]

Int[(5 - x)*(3 + 2*x)^(5/2)*(2 + 5*x + 3*x^2),x]

[Out]

(65*(3 + 2*x)^(7/2))/56 - (109*(3 + 2*x)^(9/2))/72 + (47*(3 + 2*x)^(11/2))/88 - (3*(3 + 2*x)^(13/2))/104

Rule 771

Int[((d_.) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> In
t[ExpandIntegrand[(d + e*x)^m*(f + g*x)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m}, x] && N
eQ[b^2 - 4*a*c, 0] && IntegerQ[p] && (GtQ[p, 0] || (EqQ[a, 0] && IntegerQ[m]))

Rubi steps

\begin{align*} \int (5-x) (3+2 x)^{5/2} \left (2+5 x+3 x^2\right ) \, dx &=\int \left (\frac{65}{8} (3+2 x)^{5/2}-\frac{109}{8} (3+2 x)^{7/2}+\frac{47}{8} (3+2 x)^{9/2}-\frac{3}{8} (3+2 x)^{11/2}\right ) \, dx\\ &=\frac{65}{56} (3+2 x)^{7/2}-\frac{109}{72} (3+2 x)^{9/2}+\frac{47}{88} (3+2 x)^{11/2}-\frac{3}{104} (3+2 x)^{13/2}\\ \end{align*}

Mathematica [A]  time = 0.0131499, size = 28, normalized size = 0.53 \[ -\frac{(2 x+3)^{7/2} \left (2079 x^3-9891 x^2-16429 x-5829\right )}{9009} \]

Antiderivative was successfully verified.

[In]

Integrate[(5 - x)*(3 + 2*x)^(5/2)*(2 + 5*x + 3*x^2),x]

[Out]

-((3 + 2*x)^(7/2)*(-5829 - 16429*x - 9891*x^2 + 2079*x^3))/9009

________________________________________________________________________________________

Maple [A]  time = 0.004, size = 25, normalized size = 0.5 \begin{align*} -{\frac{2079\,{x}^{3}-9891\,{x}^{2}-16429\,x-5829}{9009} \left ( 3+2\,x \right ) ^{{\frac{7}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5-x)*(3+2*x)^(5/2)*(3*x^2+5*x+2),x)

[Out]

-1/9009*(2079*x^3-9891*x^2-16429*x-5829)*(3+2*x)^(7/2)

________________________________________________________________________________________

Maxima [A]  time = 0.989257, size = 50, normalized size = 0.94 \begin{align*} -\frac{3}{104} \,{\left (2 \, x + 3\right )}^{\frac{13}{2}} + \frac{47}{88} \,{\left (2 \, x + 3\right )}^{\frac{11}{2}} - \frac{109}{72} \,{\left (2 \, x + 3\right )}^{\frac{9}{2}} + \frac{65}{56} \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(5/2)*(3*x^2+5*x+2),x, algorithm="maxima")

[Out]

-3/104*(2*x + 3)^(13/2) + 47/88*(2*x + 3)^(11/2) - 109/72*(2*x + 3)^(9/2) + 65/56*(2*x + 3)^(7/2)

________________________________________________________________________________________

Fricas [A]  time = 1.68872, size = 144, normalized size = 2.72 \begin{align*} -\frac{1}{9009} \,{\left (16632 \, x^{6} - 4284 \, x^{5} - 375242 \, x^{4} - 1116057 \, x^{3} - 1364067 \, x^{2} - 758349 \, x - 157383\right )} \sqrt{2 \, x + 3} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(5/2)*(3*x^2+5*x+2),x, algorithm="fricas")

[Out]

-1/9009*(16632*x^6 - 4284*x^5 - 375242*x^4 - 1116057*x^3 - 1364067*x^2 - 758349*x - 157383)*sqrt(2*x + 3)

________________________________________________________________________________________

Sympy [B]  time = 2.11205, size = 100, normalized size = 1.89 \begin{align*} - \frac{24 x^{6} \sqrt{2 x + 3}}{13} + \frac{68 x^{5} \sqrt{2 x + 3}}{143} + \frac{53606 x^{4} \sqrt{2 x + 3}}{1287} + \frac{372019 x^{3} \sqrt{2 x + 3}}{3003} + \frac{151563 x^{2} \sqrt{2 x + 3}}{1001} + \frac{84261 x \sqrt{2 x + 3}}{1001} + \frac{17487 \sqrt{2 x + 3}}{1001} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)**(5/2)*(3*x**2+5*x+2),x)

[Out]

-24*x**6*sqrt(2*x + 3)/13 + 68*x**5*sqrt(2*x + 3)/143 + 53606*x**4*sqrt(2*x + 3)/1287 + 372019*x**3*sqrt(2*x +
 3)/3003 + 151563*x**2*sqrt(2*x + 3)/1001 + 84261*x*sqrt(2*x + 3)/1001 + 17487*sqrt(2*x + 3)/1001

________________________________________________________________________________________

Giac [A]  time = 1.10623, size = 50, normalized size = 0.94 \begin{align*} -\frac{3}{104} \,{\left (2 \, x + 3\right )}^{\frac{13}{2}} + \frac{47}{88} \,{\left (2 \, x + 3\right )}^{\frac{11}{2}} - \frac{109}{72} \,{\left (2 \, x + 3\right )}^{\frac{9}{2}} + \frac{65}{56} \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(5/2)*(3*x^2+5*x+2),x, algorithm="giac")

[Out]

-3/104*(2*x + 3)^(13/2) + 47/88*(2*x + 3)^(11/2) - 109/72*(2*x + 3)^(9/2) + 65/56*(2*x + 3)^(7/2)